package org.example.product.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.product.bean.Product;

import java.util.List;

/**
 * @Author : wer
 * @Date: 2025/6/21 15:47
 * @Description: 商品服务数据库连接
 */

@Mapper
public interface ProductMapper {

    @Select("select * from product_db where id = ${productId}")
    Product getProductsById(Long productId);

}
